package org.example.musicserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.musicserver.Request.SingerRequest;
import org.example.musicserver.common.Result;
import org.example.musicserver.entity.Singer;

import java.util.List;

public interface SingerService extends IService<Singer> {

//    R addSinger (SingerRequest addSingerRequest);
//
//    R updateSingerMsg(SingerRequest updateSingerRequest);
//
//    R updateSingerPic(MultipartFile avatorFile, int id);
//
//    R deleteSinger(Integer id);

    Result allSinger(String query);

    Result singerOfId(Integer id);

    Result deleteSinger(Integer id);

    Result deleteSingers(List<Integer> singerIds);
    Result addSinger(SingerRequest registryRequest);
    Result updateSinger(SingerRequest updateRequest);
}
